package com.sc.nft.dto.profit;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;


@Data
public class MetaShareProfitDTO   {

    @ApiModelProperty("玛特分润占比")
    @NotNull(message = "玛特分润占比不能为空")
    @Range(min = 0L,max = 1L,message = "玛特分润池占比范围不正确")
    private BigDecimal ratio;

    @ApiModelProperty("分润池占比")
    @NotNull(message = "分润池占比不能为空")
    @Range(min = 0L,max = 1L,message = "分润池占比范围不正确")
    private BigDecimal boundsPoolRatio;

    @ApiModelProperty("商务占比")
    @NotNull(message = "商务占比不能为空")
    @Range(min = 0L,max = 1L,message = "商务占比范围不正确")
    private BigDecimal businessRatio;

    @ApiModelProperty("项目占比")
    @NotNull(message = "项目占比不能为空")
    @Range(min = 0L,max = 1L,message = "项目占比范围不正确")
    private BigDecimal projectRatio;

    @ApiModelProperty("公司占比")
    @NotNull(message = "公司占比不能为空")
    @Range(min = 0L,max = 1L,message = "公司占比范围不正确")
    private BigDecimal companyRatio;




}
